// $(".fo-taskList li").click(function () {
//     console.log(this.innerText);
//     if (this.innerHTML.indexOf("<s>")!=-1){
//         this.innerHTML = this.innerText;
//     }else {
//         this.innerHTML = "<s>"+this.innerHTML+"</s>";
//     }
// });
/*火狐浏览器可能不支持innerText, 故用字符串方法处理*/
$(".fo-taskList li").click(function () {
    console.log(this.innerText);
    if (this.innerHTML.indexOf("<s>")!=-1){
        var innerText = this.innerHTML.replace("<s>","");
        innerText = innerText.replace("</s>","");

        this.innerHTML = innerText
    }else {
        this.innerHTML = "<s>"+this.innerHTML+"</s>";
    }
});